package com.wanmait.deliverymangementsystem.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.deliverymangementsystem.pojo.Reviews;

import java.util.List;

public interface ReviewsService {
    void createReview(Reviews reviews);

    List<Reviews> findGoodReviews();

    PageInfo<Reviews> findUserReviews(Integer page,Integer userID);

    Reviews findReview(Integer id,Integer OrderId);

    PageInfo<Reviews>findAll(Integer page);

}
